
package com.jbm.jbmsupplier.zp.entity;

public class ChatMsgEntity {
    //名字
    private String name;
    //头像
    private String head_portrait;
    //发送接收时间
    private String date;
    //发送接收内容
    private String text;
    //语音时长
    private String time;
    //发送ID,登录ID
    private int to_id,local_id;
    //图片
    private String Route;
    //语音
    private String MediaName;
    //语音时长
    private String AudioTime;
    //标志布局
    private int flag;
    //支付时间
    private String payDate;
    //支付金额
    private String payMoney;
    //收款人
    private String payee;
    //支付方式
    private String payMode;
    //交易状态
    private String payState;
    //提货码
    private String code;
    //备注
    private String memo;
    //文件标识
    private String filetype;
    //订单编号
    private  int orderID;
    //工单编号
    private int jobOrderID;
    //群ID
    private int cgid;
    private int tags;
    private String address;
    private String photo;
    private String sedtext;
    private int UnreadMsg;
    private int orderid;
    private double amount;
    //字符表示 true发送成功false 发送失败
    private String isboolean;

    public String getIsboolean() {
        return isboolean;
    }

    public void setIsboolean(String isboolean) {
        this.isboolean = isboolean;
    }
    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getUnreadMsg() {
        return UnreadMsg;
    }

    public void setUnreadMsg(int unreadMsg) {
        UnreadMsg = unreadMsg;
    }

    public String getSedtext() {
        return sedtext;
    }

    public void setSedtext(String sedtext) {
        this.sedtext = sedtext;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getTags() {
        return tags;
    }

    public void setTags(int tags) {
        this.tags = tags;
    }

    private ChatMsgEntity chatMsgEntity;

    public ChatMsgEntity getChatMsgEntity() {
        return chatMsgEntity;
    }

    public void setChatMsgEntity(ChatMsgEntity chatMsgEntity) {
        this.chatMsgEntity = chatMsgEntity;
    }

    public int getCgid() {
        return cgid;
    }

    public void setCgid(int cgid) {
        this.cgid = cgid;
    }

    public int getOrderID() {
        return orderID;
    }

    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    public int getJobOrderID() {
        return jobOrderID;
    }

    public void setJobOrderID(int jobOrderID) {
        this.jobOrderID = jobOrderID;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public boolean isSend() {
        return IsSend;
    }

    public void setSend(boolean send) {
        IsSend = send;
    }

    private boolean IsSend;

    public String getHead_portrait() {
        return head_portrait;
    }

    public void setHead_portrait(String head_portrait) {
        this.head_portrait = head_portrait;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getTo_id() {
        return to_id;
    }

    public void setTo_id(int to_id) {
        this.to_id = to_id;
    }

    public int getLocal_id() {
        return local_id;
    }

    public void setLocal_id(int local_id) {
        this.local_id = local_id;
    }

    public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setOpendoor(String opendoor) {
        this.opendoor = opendoor;
    }

    public String getOpendoor() {
        return opendoor;
    }

    private String opendoor="点击开门....";

    public String getMediaName() {
        return MediaName;
    }

    public void setMediaName(String mediaName) {
        MediaName = mediaName;
    }

    public String getRoute() {
        return Route;
    }

    public void setRoute(String route) {
        Route = route;
    }

    public String getAudioTime() {
        return AudioTime;
    }

    public void setAudioTime(String audioTime) {
        AudioTime = audioTime;
    }

    public String getPayDate() {
        return payDate;
    }

    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

    public String getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(String payMoney) {
        this.payMoney = payMoney;
    }

    public String getPayee() {
        return payee;
    }

    public void setPayee(String payee) {
        this.payee = payee;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }

    public String getPayState() {
        return payState;
    }

    public void setPayState(String payState) {
        this.payState = payState;
    }

    public ChatMsgEntity() {
    }

    /**
     *
     * @param name
     * @param date
     * @param text
     * @param time
     * @param to_id
     * @param local_id
     * @param flag      布局标志位
     */
    public ChatMsgEntity(String name,String head_portrait, String date, String text, String time, int to_id, int local_id,int orderid,double amount, int flag,int tags,String address,String photo) {
        this.name = name;
        this.date = date;
        this.address = address;
        this.photo = photo;
        this.text = text;
        this.time = time;
        this.to_id = to_id;
        this.local_id = local_id;
        this.flag = flag;
        this.tags = tags;
        this.head_portrait = head_portrait;
    }

    public ChatMsgEntity(String name,String head_portrait, String date, String text, String time, int to_id, int local_id, String route, String mediaName, int flag) {
        this.name = name;
        this.head_portrait = head_portrait;
        this.date = date;
        this.text = text;
        this.time = time;
        this.to_id = to_id;
        this.local_id = local_id;
        Route = route;
        MediaName = mediaName;
        this.flag = flag;
    }

    /**
     * 添加提货码数据
     * @param head_portrait
     * @param date
     * @param time
     * @param to_id
     * @param local_id
     * @param flag
     * @param code
     * @param memo
     */
    public ChatMsgEntity(String head_portrait, String date, String time, int to_id, int local_id, int flag, String code, String memo) {
        this.head_portrait = head_portrait;
        this.date = date;
        this.time = time;
        this.to_id = to_id;
        this.local_id = local_id;
        this.flag = flag;
        this.code = code;
        this.memo = memo;
    }
}
